<div class="sebelumjud">
        <div class="jodol">Problem |  —Home</div>
</div>
<div class="clear"></div>

<div id="jumat">
        <div id="last">
            <a href="<?php echo base_url().'progress/progress_con/problem'?>">Home</a>
            <a href="<?php echo base_url().'progress/progress_con/problem_page/new'?>">New</a>
            <a href="<?php echo base_url().'progress/progress_con/problem_page/handled'?>">Handled</a>
            <a href="<?php echo base_url().'progress/progress_con/problem_page/rejected'?>">Rejected</a>
            <a href="<?php echo base_url().'progress/progress_con/problem_page/solved'?>">Solved</a>
            <a href="<?php echo base_url().'progress/progress_con/problem_manage'?>">Manage</a>
        </div>
        <table border="0" cellspacing="0" cellpadding="0" class="tabeltgl">
            <tr>
            <td><ul class="are">
                    <li><a href="<?php echo base_url().'progress/progress_con/problem'?>">All Division</a></li>
                    <?php
                        if(!empty($list_divisi)){
                            for($i=0;$i<count($list_divisi);$i++){
                                echo '<li><a href="'.base_url().'progress/progress_con/problem_page/new/'.$list_divisi[$i]['ID_DIVISI'].'">'.$list_divisi[$i]['NAMA_DIVISI'].'</a></li>
                                    ';
                            }
                        }
                    ?>
        </ul></td>
        </tr>
        </table>
        <div id="problempanel">
            <?php
                if(!empty($summary)){
                    echo '
                <div class="bungkuspanel total">
                        <span class="divisi">Totals</span>
                        <div class="divisi2">
                                <a href="'.base_url().'progress/progress_con/problem_page/new">'.$summary['NEW'].' New</a>
                                <a href="'.base_url().'progress/progress_con/problem_page/handled">'.$summary['HANDLED'].' Handled</a>
                                <a href="'.base_url().'progress/progress_con/problem_page/rejected">'.$summary['REJECTED'].' Rejected</a>
                                <a href="'.base_url().'progress/progress_con/problem_page/solved">'.$summary['SOLVED'].' Solved</a>
                        </div>
                </div>
                        ';
                }
            ?>
            <?php
                if(!empty($list_divisi)){
                    for($i=0;$i<count($list_divisi);$i++){
                        echo '
                        <div class="bungkuspanel">
                                <span class="divisi">'.$list_divisi[$i]['NAMA_DIVISI'].'</span>
                                <div class="divisi2">
                                        <a href="'.base_url().'progress/progress_con/problem_page/new/'.$list_divisi[$i]['ID_DIVISI'].'">'.$list_divisi[$i]['NEW'].' New</a>
                                        <a href="'.base_url().'progress/progress_con/problem_page/handled/'.$list_divisi[$i]['ID_DIVISI'].'">'.$list_divisi[$i]['HANDLED'].' Handled</a>
                                        <a href="'.base_url().'progress/progress_con/problem_page/rejected/'.$list_divisi[$i]['ID_DIVISI'].'">'.$list_divisi[$i]['REJECTED'].' Rejected</a>
                                        <a href="'.base_url().'progress/progress_con/problem_page/solved/'.$list_divisi[$i]['ID_DIVISI'].'">'.$list_divisi[$i]['SOLVED'].' Solved</a>
                                </div>
                        </div>
                            ';
                    }
                }
            ?>

        </div>
        <p class="clear"></p>
</div><!---end div jumat--->
<div class="clear"></div>